import request from "@/utils/request";
const flupInfo = "/flupInfo";

// 查询随访信息列表
export function getListFlupInfo(data) {
  return request({
    url: `${flupInfo}/query`,
    method: "post",
    data: data,
  });
}

// 增随访信息
export function insertFlupInfo(data) {
  return request({
    url: `${flupInfo}/insert`,
    method: "post",
    data: data,
  });
}
// 改随访信息
export function updateFlupInfo(data) {
  return request({
    url: `${flupInfo}/update`,
    method: "post",
    data: data,
  });
}
// 查询随访信息列表
export function deleteFlupInfo(data) {
  return request({
    url: `${flupInfo}/delete`,
    method: "post",
    data: data,
  });
}
// 查询随访信息列表
export function followUpAdd(data) {
  return request({
    url: `${flupInfo}/insert`,
    method: "post",
    data: data,
  });
}
// 增随访记录
export function flupRecord(data) {
  return request({
    url: `flupRecord/insert`,
    method: "post",
    data: data,
  });
}
// 查询随访记录详情
export function flupRecordDetail(data) {
  return request({
    url: `flupRecord/queryDetail`,
    method: "post",
    data: data,
  });
}
// 导出随访信息列表
export const exportData = `${flupInfo}/exportData`;
